package com.hmall.mapper;

import com.hmall.model.MallOrderFufillmentParent;
import com.hmall.util.MyMapper;
import com.hmall.vo.FufillmentVo2;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MallOrderFufillmentParentMapper extends MyMapper<MallOrderFufillmentParent> {
    MallOrderFufillmentParent selectByNo(@Param("fufillment_no") String fufillment_no);

    List<FufillmentVo2> selectByOrderNo(@Param("order_no")Long order_no);

    List<MallOrderFufillmentParent> selectByCustomerId(@Param("customer_id")Integer customer_id);

    List<FufillmentVo2> selectByCustomer(@Param("customer_id") Integer customer_id);

    List<MallOrderFufillmentParent> selectByCustomerId2(@Param("customer_id") Integer customer_id);
}